package com.kalenchuk.util;

import java.util.Collection;

public class Utils {
	
	public static boolean isCollectionEmpty(Collection<?> collection) {
		boolean isEmpty = true;
		if(collection != null && !collection.isEmpty()) {
			isEmpty = false;
		}
		return isEmpty;
	}
	
	public static boolean isCollectionNotEmpty(Collection<?> collection) {
		return !isCollectionEmpty(collection);
	}

}
